
import '../response/MemberInfoResponse.dart';
import '../util/DioUtil.dart';

class MineService{
  Future<Member> currentUser() async {
    var response = await DioUtil().post('/member/currentUser');
    var memberInfoResponse = MemberInfoResponse.fromJson(response.data);
    return memberInfoResponse.data;
  }
}